/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sse554_project3;

import java.awt.Image;
import java.awt.Point;

/**
 *
 * @author Derrick.Baptiste
 */
public class Cell {
  
    private CellType type;
    private Image image;
    private Point location;
    private Boolean fixed;
    private Tile tile;
    
    public Cell(){
        type = CellType.NULL;
        tile=null;
    }
    
    public Cell(CellType type, Image image, Point location){
        this.type = type;
        this.image = image;
        this.location = location;
    }
    
    public String getCellType(){
        return this.type.toString();
    }
    
    public Image getImage(){
        return this.image;
    }
    
    public Point getPoint(){
        return this.location;
    }
    
    public void setCellType(CellType type){
        this.type = type;
    }
    
    public void setImage(Image image){
        this.image = image;
    }
    
    public void setPoint(Point location){
        this.location = location;
    }
    
    public Boolean getFixed(){
        return fixed;
    }
    
    public void setFixed(Boolean fixed){
        this.fixed=fixed;
    }
    
    public Tile getTile(){
        return tile;
    }
    public void setTile(Tile tile){
        this.tile = tile;
    }
}
